package com.s7175.kor.model;

public class Server extends ModelMaster{

	private String name;
	private String domain;
	private Integer id;

	private Component worksIn;
	private Configuration confItem;

	public Server(String sName, String sDomain, int iID) {
		this.setName(sName);
		this.setDomain(sDomain);
		this.setId(iID);
	}

	public String toString() {
		return "{id=" + id + ", name=" + name + ", domain=" + domain + "}";
	}

	public String getName() {
		return name;
	}

	public void setName(String sServerName) {
		this.name = sServerName;
	}

	public String getDomain() {
		return domain;
	}

	public void setDomain(String sSeverDomain) {
		this.domain = sSeverDomain;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer iID) {
		this.id = iID;
	}

	public Configuration getConfItem() {
		return confItem;
	}

	public void setConfItem (Configuration oConf) {
		this.confItem = oConf;
	}

	public Component getWorksIn() {
		return worksIn;
	}

	public void setWorksIn(Component component) {
		this.worksIn = component;
	}

}
